package com.gitee.exception;

import com.gitee.enums.HttpCode;

/**
 * 通用业务异常类
 *  
 * @author  赵炎
 * @version  [V1.00, 2019年1月28日]
 * @since V1.00
 */
public class BusinessException extends BaseException
{
    
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 4580159926959568009L;
    
    public BusinessException()
    {
    }
    
    public BusinessException(Throwable ex)
    {
        super(ex);
    }
    
    public BusinessException(String message)
    {
        super(message);
    }
    
    public BusinessException(String message, Throwable ex)
    {
        super(message, ex);
    }

    @Override
    public HttpCode getHttpCode()
    {
        return HttpCode.FAIL;
    }
   
}
